m = 123

def func():
    a = 10

    global m
    m = 456
    print("a=", a)
    print("m=", m)


def func2():
    a = 20
    print("a=", a)
    print("m=", m)


func()
func2()
